package com.itheima.d2_reflect;

public class Test1Class {
    public static void main(String[] args) throws Exception {
        Class c1 =Student.class;
        System.out.println(c1.getName());
        System.out.println(c1.getSimpleName());

        Class c2 =Class.forName("com.itheima.d2_reflect.Student");
        System.out.println(c1 ==c2);

        Student s = new Student();
        Class c3 = s.getClass();
        System.out.println(c3 ==c2);
    }
}
